ad85d4e7f62e07fc93950261b9529792e08fae64,Mage/src/mage/abilities/effects/common/ReturnSourceFromGraveyardToBattlefieldEffect.java,ReturnSourceFromGraveyardToBattlefieldEffect,apply,#Game#Ability#,69
Before Change
@Override
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
Card card = player.getGraveyard().get(source.getSourceId(), game);
if (card != null) {
if(card.putOntoBattlefield(game, Zone.GRAVEYARD, source.getId(), source.getControllerId(), tapped))
After Change
}
@Override
public boolean apply(Game game, Ability source) {
if (!game.getState().getZone(source.getSourceId()).equals(Zone.GRAVEYARD)) {
return false;
}
Card card = game.getCard(source.getSourceId());
if (card == null) {
return false;
}
Player player;
if (ownerControl) {
player = game.getPlayer(card.getOwnerId());
} else {
player = game.getPlayer(source.getControllerId());
}
if (player == null) {
return false;
}